import CameraDemo from '../view/Camera';
import AmplocationDemo from '../view/AmapLocation';
import MapDemo from '../view/Map';
import NetInfoDemo from '../view/Network';
import ImagePickerDemo from '../view/ImagePicker';
import ImageViewDemo from '../view/ImageView';
import CustomView from '../view/Custom';
import ScanCode from '../view/ScanCode';
import ModalView from '../view/Modal';

export const homeRouterList = [
    {
    id: 'scan',
    icon: 'scan-outline',
    name: '扫码',
    color: 'rgba(255, 61, 0, 1)',
    component: ScanCode,
  },
  {
    id: 'camera',
    icon: 'camera-outline',
    name: '相机',
    color: '#4A90E2',
    component: CameraDemo,
  },
  {
    id: 'location',
    icon: 'location-outline',
    name: '定位',
    color: '#34C759',
    component: AmplocationDemo,
  },
  {
    id: 'map',
    icon: 'navigate-outline',
    name: '地图',
    color: '#9053E4',
    component: MapDemo,
  },
  {
    id: 'netinfo',
    icon: 'globe-outline',
    name: '网络',
    color: '#FF9500',
    component: NetInfoDemo,
  },
  {
    id: 'picker',
    icon: 'cut-outline',
    name: 'picker',
    color: '#FF3B30',
    component: ImagePickerDemo,
  },
  {
    id: 'imageview',
    icon: 'images-outline',
    name: 'imageview',
    color: '#FF3B30',
    component: ImageViewDemo,
  },
  {
    id: 'customView',
    icon: 'laptop-outline',
    name: 'customView',
    color: 'rgb(179, 16, 151)',
    component: CustomView,
  },
  {
    id: 'ModalView',
    icon: 'ellipse-outline',
    name: 'ModalView',
    color: 'rgb(179, 16, 151)',
    component: ModalView,
  },
];